﻿/*
=============================================================================
Author:魏宝辉通过CodeSmithe生成
CreatedTime:2012-8-12
Description:jcxm三层结构业务逻辑层
=============================================================================
*/
using System;
using System.Collections.Generic;
using System.Text;
using FTchina.DAL;
using FTchina.Models;
namespace FTchina.BLL
{
	public static partial class JcxmManager
	{
		public static int AddJcxm(Jcxm jcxm)
		{
			return JcxmService.AddJcxm(jcxm);
		}
		public static int DeleteJcxmByid(int id)
		{
			return JcxmService.DeleteJcxmById(id);
		}
		
		public static int ModifyJcxmByid(Jcxm jcxm)
		{
			return JcxmService.ModifyJcxmByid(jcxm);
		}
		
		
		public static IList<Jcxm> GetAllJcxms()
		{
			return JcxmService.GetAllJcxms();
		}
		public static Jcxm GetJcxmByid(int id)
		{
			return JcxmService.GetJcxmByid(id);
		}
		//分页查询 curragePage当前页NUMCount每页条数
		public static IList<Jcxm> ShowjcxmForPage(int curragePage,int NUMCount)
		{
			return 	JcxmService.ShowjcxmForPage(curragePage,NUMCount);
		}
	}
}
